home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
superv11.zip
/
SUPERV.DOC
< prev
next >
Wrap
Text File
|
1994-04-08
|
6KB
|
171 lines
Supervisor version 1.1
Author: Miha Vitorovic (Mike5)
Fidonet address: 2:380/114.107
EMail: miha.vitorovic@p107.f114.n380.z2.gnfido.fidonet.org
DISCLAIMER:
SUPERVISOR DOES NOT INCLUDE ANY DESTRUCTIVE COMMANDS (FILE DELETING AND
SUCH) AND WORKS PERFECTLY FINE ON MY COMPUTER, BUT I COULDN'T TEST IT ON ALL
POSSIBLE SYSTEMS AND CONFIGURATIONS. STILL, EVERYTHING SHOULD WORK PERFECTLY
FINE. IF ANY DATA ARE LOST OR ANYTHING ELSE HAPPENS, DON'T BLAME ME. SUPERVI-
SOR ALSO DOES NOT CONTAIN ANY NEW OR OLD VIRUSES OR "TROJAN HORSES". FILE
SHOULD BE 3170 BYTES LONG. IF IT ISN'T, THIS IS NOT THE PROGRAM I WROTE. IF
THIS HAPPENS, TALK TO THE PERSON YOU GOT IT FROM OR NOTIFY THE SYSOP OF THE
BBS YOU DOWNLOADED IT FROM AND ASK HIM TO ERASE IT.
You can use Supervisor freely and give it to your friends, but please do not
change it and give the copy of this document along with it.
1) What is the purpose of Supervisor
Supervisor writes the name of every program being run and any deleted file
into a special log file.
It was written to be used where PC is not quite so personal and other people,
like members of your family or co-workers, also use your computer. It was not
meant to be a tool for spying on them (even though you can certainly use it
that way), but mainly to provide you with the information on what was going on
in case some data are lost or some other damage done. It is quite possible
that somebody who also uses your computer erased some files by mistake or
simply run a program and didn't know how to use it properly or what it does.
And probably he will not remember the right program or the parameters he used.
The information on what program was run and with what parameters may sometimes
lead you to faster solution of your problem. You can also use it to find out
if somebody plays Tetris in your office while you're out for lunch.
Since many people will not like the idea that you're "spying" on them, there
is a special option that prevents Supervisor from notifying you it has instal-
led successfully, and log file is created with a hidden attribute.
2) How does Supervisor work
Supervisor is run with the following command:
superv filename.ext
or
superv filename.ext s
'S' option prevents Supervisor from writing the message of successful instal-
lation on screen. It will still report any error, though.
If installation was successful, supervisor opens a hidden file (dir command
doesn't show it) and writes date and time when Supervisor was started in it.
For example:
------------------------------------------------------------------
18.2.1994 18:15:20
------------------------------------------------------------------
If file already exists, this information is appended to it. This concludes
the installation and from this moment on Supervisor writes the name of every
program along with it's parameters and every deleted file into this log file.
'filename.ext' can be a full file name along with its path or only its basic
name and will be created in current directory.
The only restriction is that file cannot be opened of floppy drive. In such
case Supervisor will not be installed. You can put Supervisor in your AUTOEXEC
.BAT, so it will log all activity from the moment the computer is turned on
even if you're not around.
Supervisor doesn't log ordinary DOS commands like 'dir' or 'type', but it
will log all files that were deleted:
C:\CURRENT\DIR :: Deleting filename.ext
or
C:\CURRENT\DIR :: Deleting ????????.ext
Log file is an ordinary ASCII file and can be loaded into any text editor
(you'll have to change the hidden attribute to do that for some of them). You
will probably want to do that to erase the start of the log file so it won't
use up your disk space for old records.
To remove Supervisor from memory type:
superv /ll
If Supervisor is not already resident, this command will create a hidden
file named LL.
3) Supervisor messages
3.1) Install messages
╔══════════════════════════════════════════════════╗
║ Supervisor V1.0 Slovenia Jan, 1994 Mike5 ║
║ Installed successfully. ║
╚══════════════════════════════════════════════════╝
- Second parameter is other than S:
====
Wrong parameter.
Aborting.
- At least file name is missing:
(Warning! " superv s " creates a log file named "s")
===
No parameters.
Aborting.
- Guess what's wrong now:
===
Too many parameters.
Aborting.
- Nothing wrong here:
===
Supervisor already installed.
- Specified drive is floppy or does nor exist:
===
Invalid drive specified.
Aborting.
- Guess what:
===
Invalid path to file.
Aborting.
- Any other reason for not being able to open file:
===
Cannot open file.
Aborting.
3.2) Uninstall messages
- There is another TSR that has installed itself over Supervisor:
===
Supervisor is not the last TSR in memory
and can not be uninstalled.
Aborting.
- On successful uninstall:
===
Supervisor uninstalled successfully.
- Critical error. Better reboot:
===
Error occured on uninstall. Reset recommended.
4) Fixed a "bug"
... which wasn't really a bug to begin with.
As you probably noticed, there was sometimes trash in your log file. This
happend because some programs run "child" programs and pass them parameters
in an unusual way. Supervisor 1.0 didn't expect that. I only hope there isn't
a third way of passing parameters.
I hope you'll find any use for my program and if you encounter any problems,
have any other comments, or just want to say what you think of Supervisor,
don't hesitate to write.
Greetings, Miha Vitorovic
*** END OF TEXT ***